package cn.koala.key.complaint.entity.enums;

import cn.koala.key.common.enums.HasCaption;
import cn.koala.key.common.enums.HasCode;

/**
 * @author 38752
 */
public enum ComplaintSortEnum implements HasCode, HasCaption {
    // 客诉原因

    SERVICE_QUALITY_QUESTION(1, "服务质量问题"),
    SERVICE_ATTITUDE_QUESTION(2, "服务态度问题"),
    WORK_EFFICIENCY_QUESTION(3, "工作效率问题"),
    PARTS_QUESTION(4, "配件问题"),
    WAIT_TIME_QUESTION(5, "等待时间过久"),
    PRICE_RATIONAL(6, "价格不合理"),
    OTHER(7, "其他"),
    ;

    private Integer code;

    private String caption;

    ComplaintSortEnum(Integer code, String caption) {
        this.code = code;
        this.caption = caption;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getCaption() {
        return caption;
    }
}
